#include "server.hpp"
#include <memory>
#include "message.hpp"

int main()
{
    MessageRoute temp;
    unique_ptr<UdpServer> ptr = make_unique<UdpServer>(8080, bind(&MessageRoute::Route, &temp, placeholders::_1, placeholders::_2, placeholders::_3));
    ptr->Init();
    ptr->Start();
    return 0;
}